@tcolor: #1890ff;
.edc-ds-content {
    .edc-ds-sider,
    .edc-ds-right {
        background-color: #f3f5f7;
        height: 100%;
    }
    .edc-ds-sider {
        background: #efefef;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-top: 10px;
        position: relative;
        .edc-ds-source {
            margin: 0 16px;
            color: #333;
            border-bottom: 1px solid #e6e6e6;
            .title {
                padding-left: 3px;
                font-size: 14px;
            }
            .edc-ds-title {
                position: relative;
                padding: 2px 10px;
                border-left: 2px solid transparent;
                color: #999;
                margin: 10px 0;
                line-height: 1;
                border-color: #1890ff;
                &:after {
                    font-family: icon-coms !important;
                    speak: none;
                    font-style: normal;
                    font-weight: 400;
                    font-variant: normal;
                    text-transform: none;
                    line-height: 1;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                    content: "\E9D3";
                    position: absolute;
                    right: 5px;
                    top: 3px;
                }
            }
            .name {
                color: #333;
                width: 150px;
                overflow: hidden;
                word-wrap: normal;
                white-space: nowrap;
                -o-text-overflow: ellipsis;
                text-overflow: ellipsis;
                cursor: pointer;
            }
            .type {
                margin-top: 5px;
            }
            .drop-menu {
                display: none;
            }
        }
        .edc-ds-table {
            position: absolute;
            top: 83px;
            left: 0px;
            width: 100%;
            bottom: 0px;
            &>.title {
                position: relative;
                height: 32px;
                line-height: 32px;
                font-size: 14px;
                padding: 0 16px;
                color: #333;
            }
            &>.search {
                padding: 0px 10px 16px 14px;
            }
            &>.list {
                position: absolute;
                top: 76px;
                left: 0px;
                bottom: 0px;
                width: 100%;
                .ant-spin-nested-loading,
                .ant-spin-container {
                    height: 100%;
                }
                .ds-table-item {
                    height: 42px;
                    line-height: 42px;
                    font-size: 14px;
                    padding: 0 24px;
                    cursor: move;
                    cursor: -webkit-grab;
                    overflow: hidden;
                    word-wrap: normal;
                    white-space: nowrap;
                    -o-text-overflow: ellipsis;
                    text-overflow: ellipsis;
                    line-height: 25px;
                    &>p {
                        font-size: 12px;
                        color: #bbb;
                        line-height: 1;
                    }
                }
            }
        }
    }
    .edc-ds-right {
        .edc-ds-header {
            padding: 0 20px;
            border-bottom: 1px solid #e6e6e6;
            height: 40px;
            line-height: 40px;
        }
        .edc-ds-ws {
            position: absolute;
            top: 40px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            margin: 10px;
            background: #fff;
            padding: 16px;
            overflow: auto;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            border: 2px solid transparent;
        }
    }
}


.edc-ds-ws {
    &.edc-ds-config-highlight {
      border: 2px solid #90b9e8;
    }
  
    .edc-ds-blank {
      position: absolute;
      text-align: center;
      right: 0;
      left: 0;
      top: 40%;
      font-size: 20px;
      color: #999;
    }
  }
  
  .edc-ds-tree-item {
    position: relative;
    height: 38px;
    line-height: 37px;
    width: 218px;
    margin-bottom: 12px;
    border: 1px solid #dedede;
    color: #666;
    border-radius: 2px;
    background: #f1f1f1;
  
    &:hover {
      .anticon-down {
        display: block;
      }
    }
  
    .anticon-down {
      display: none;
      position: absolute;
      top: 50%;
      margin-top: -12px;
      padding: 7px;
      font-size: 12px;
      right: 0;
      font-size: 10px;
      cursor: pointer;
    }
  
    &.ds-active {
      h6 {
        border-left: 2px solid @tcolor;
      }
    }
  
    &.selected {
      border-color: #4a91e3;
    }
  
    &.on {
      .selected;
      box-shadow: 0 0 6px #4a91e3;
    }
  
    h6 {
      border-left: 2px solid transparent;
      padding: 0 25px 0 10px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-weight: normal;
      font-size: 14px;
      cursor: move;
      cursor: -webkit-grab;
    }
  
    .edc-ds-tree-opt {
      position: absolute;
      z-index: 9;
      left: -56px;
      top: 50%;
      width: 26px;
      height: 26px;
      line-height: 22px;
      margin-top: -13px;
      text-align: center;
      border: 1px solid #ddd;
      border-radius: 50%;
      color: #999;
      background: #fff;
      cursor: pointer;
      
      .anticon-edit {
        display: none;
      }
  
      &.err {
        border-style: dashed;
        border-color: #ed5565;
      }
  
      &:hover {
        border: 1px solid @tcolor;
  
        b {
          display: none;
  
          & + .anticon-edit {
            display: inline-block;
          }
        }
      }
    }
  }

.edc-ds-tree-box {
    white-space: nowrap;
    padding-right: 3px;
  }
  
  .edc-ds-tree-wrap {
    overflow: hidden;
    margin-left: -4px;
  
    .edc-ds-tree-box {
      margin-left: 115px;
  
      &:first-child > .edc-ds-tree-item {
        &:before {
          position: absolute;
          z-index: 200;
          top: -1px;
          left: -89px;
          width: 1px;
          height: 20px;
          background: #fff;
          content: "";
        }
  
        &:after {
          position: absolute;
          top: 19px;
          left: -120px;
          width: 120px;
          border-top: 1px solid #dedede;
          content: "";
        }
      }
  
      & + .edc-ds-tree-box > .edc-ds-tree-item {
        &:before {
          position: absolute;
          left: -89px;
          top: -10000px;
          bottom: 25px;
          border-left: 1px solid #dedede;
          content: "";
        }
  
        &:after {
          position: absolute;
          top: 8px;
          left: -89px;
          width: 87px;
          height: 10px;
          border: 1px solid #dedede;
          border-width: 0 0 1px 1px;
          border-bottom-left-radius: 10px;
          content: "";
        }
      }
    }
  }
  
  .edc-ds-tree-item,
  .edc-ds-tree-wrap {
    position: relative;
    display: inline-block;
    vertical-align: top;
  }